<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        /* 1 */
        .asd {
            width: 700px;
            height: 400px;
            background-color: rgb(223, 216, 216);
            display: flex;
            justify-content: space-around;
            align-items: center;
            /* transition: box-shadow 0.8s ease; */
        }

        .i1 {
            background-image: url(素材1.png);
            width: 220px;
            height: 234px;
            background-color: white;
            /* transition: transform 0.3s ease; */
            transition: transform 0.8s ease;
        }

        .i1:hover {
            transform: scale(1.1);
            box-shadow: 10px 10px 10px 10px gray;
        }

        /* 2 */
        .qwe {
            width: 220px;
            height: 234px;
            overflow: hidden;
        }

        .i2 {
            /* position: relative; */
            background-image: url(素材2.png);
            width: 220px;
            height: 234px;
            background-color: white;
            /* overflow: hidden */
            /* transition: transfrom 1s ease; */
        }

        .o {
            /* position: absolute; */
            width: 220px;
            height: 40px;
            /* bottom: -177px; */
            background-color: orangered;
            transition: transform 0.8s ease;
        }

        .i2:hover+.o {
            transform: translateY(-40px);
            box-shadow: 10px 10px 10px 10px gray;
        }

        .i2:hover {
            transform: translateY(-10px);
            box-shadow: 10px 10px 10px 10px gray;
        }

        .i2,
        .o {
            transition: transform 0.8s ease;
        }

        /* 3 */
        .zxc {
            width: 220px;
            height: 234px;
            overflow: hidden;
        }

        .i3 {
            background-image: url(素材3.jpg);
            width: 220px;
            height: 234px;
            background-color: white;
        }

        .o3 {
            width: 220px;
            height: 30px;
            background-color: orangered;
            transition: transform 0.8s ease;
        }

        .i3:hover+.o3 {
            transform: translateY(-30px);
            box-shadow: 10px 10px 10px 10px gray;
        }

        .i3:hover {
            transform: translateY(-5px);
            box-shadow: 10px 10px 10px 10px gray;
        }

        .i3,
        .o3 {
            transition: transform 0.8s ease;
        }
    </style>
</head>

<body>
    <div class="asd">
        <div class="i1">
        </div>
        <div class="qwe">
            <div class="i2"></div>
            <div class="o"></div>
        </div>
        <div class="zxc">
            <div class="i3"></div>
            <div class="o3"></div>
        </div>
    </div>
</body>

</html>